package com.caigou.bean.cms.entity;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SurveyFormSharePlatform implements Serializable {
    private Integer id;

    private String formId;

    private Integer platformId;

    private Integer terminal;

    private String url;

    private String qrCode;

    private Integer enableRecommend;

    private String recommendTip;

    private String gotoUrl;

    private String gotoName;

    private Date createTime;

    private Date updateTime;

    private static final long serialVersionUID = 1L;


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", formId=").append(formId);
        sb.append(", platformId=").append(platformId);
        sb.append(", terminal=").append(terminal);
        sb.append(", qrCode=").append(qrCode);
        sb.append(", gotoUrl=").append(gotoUrl);
        sb.append(", gotoName=").append(gotoName);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }

    //many2one
    private SharePlatform sharePlatform;
}